package nl.haemers.testrunners 
{
	import nl.haemers.base.BaseSprite;
	import flash.events.Event;
	import nl.haemers.media.video.BasePlayer;
	import nl.haemers.fake.BaseTestPlayer;
	/**
	 * @author Jonathan Haemers
	 */
	public class VideoRunner extends BaseSprite
	{
		public var videoPlayer				:BaseTestPlayer;
		
		public function VideoRunner() 
		{
			
		}
		
		/** Public methods **/
		
		/** Getters & Setters **/
		
		/** Protected methods **/
		override protected function init(e:Event = null) : void
		{
			super.init(e);
			startup();
		}
		
		protected function startup() : void
		{
			videoPlayer = new BaseTestPlayer();
			videoPlayer.x = stage.stageWidth * .5;
			videoPlayer.y = stage.stageHeight * .5;
			videoPlayer.url = "http://";
			addChild(videoPlayer);
		}
		/** Private methods **/
	}

}